package org.itboys.weixin.dto;

import java.util.List;
import java.util.Map;

/**
 * 微信用户列表
 * @author ChenJunhui
 *
 */
public class WeixinUserList {

	private int total;
	private int count;
	private Map<String, Object> data;
	private String next_openid;
	
	@SuppressWarnings("unchecked")
	public List<String> getUserList(){
		return data==null?null:(List<String>) data.get("openid");
	}
	
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public Map<String, Object> getData() {
		return data;
	}
	public void setData(Map<String, Object> data) {
		this.data = data;
	}
	public String getNext_openid() {
		return next_openid;
	}
	public void setNext_openid(String next_openid) {
		this.next_openid = next_openid;
	}
}
